package io.renren.modules.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.project.dao.PojectOperationDao;
import io.renren.modules.project.entity.PojectOperationEntity;
import io.renren.modules.project.service.PojectOperationService;



@Service("pojectOperationService")
public class PojectOperationServiceImpl implements PojectOperationService {
	@Autowired
	private PojectOperationDao pojectOperationDao;
	
	@Override
	public PojectOperationEntity queryObject(String id){
		return pojectOperationDao.queryObject(id);
	}

	@Override
	public List<PojectOperationEntity> query(String id) {
		return pojectOperationDao.query(id);
	}

	@Override
	public List<PojectOperationEntity> queryList(Map<String, Object> map){
		return pojectOperationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return pojectOperationDao.queryTotal(map);
	}
	
	@Override
	public void save(PojectOperationEntity pojectOperation){
		pojectOperationDao.save(pojectOperation);
	}
	
	@Override
	public void update(PojectOperationEntity pojectOperation){
		pojectOperationDao.update(pojectOperation);
	}

	@Override
	public void updateOperation(PojectOperationEntity pojectOperation) {
		pojectOperationDao.updateOperation(pojectOperation);
	}

	@Override
	public void delete(String id){
		pojectOperationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		pojectOperationDao.deleteBatch(ids);
	}

	@Override
	public List<PojectOperationEntity> queryOperation(PojectOperationEntity pojectOperationEntity) {
		return pojectOperationDao.queryOperation(pojectOperationEntity);
	}

}
